﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace MengCC.Plugin.SVN.Models
{
    [Serializable]
    [XmlRoot("checked-in", Namespace = "DAV:")]
    public class checkedin
    {
        /// <summary>
        /// 
        /// </summary>
        [XmlElement("href", Namespace = "DAV:")]
        public string href { get; set; }
    }
    [Serializable]
    [XmlRoot("prop", Namespace = "DAV:")]
    public class prop
    {
        /// <summary>
        /// 
        /// </summary>
        [XmlElement("checked-in", Namespace = "DAV:")]
        public checkedin checkedin { get; set; }
    }
    [Serializable]
    [XmlRoot("propstatItem", Namespace = "DAV:")]
    public class propstatItem
    {
        /// <summary>
        /// 
        /// </summary>
        [XmlElement("prop", Namespace = "DAV:")]
        public prop prop { get; set; }
    }


    [Serializable]
    [XmlRoot("responseItem", Namespace = "DAV:")]
    public class responseItem
    {
        /// <summary>
        /// 
        /// </summary>
        [XmlElement("href", Namespace = "DAV:")]
        public string href { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [XmlElement("propstat", Namespace = "DAV:")]
        public List<propstatItem> propstat { get; set; }
    }
    [Serializable]
    [XmlRoot("multistatus", Namespace = "DAV:")]
    public class multistatus
    {
        /// <summary>
        /// 
        /// </summary>
        [XmlElement("response",Namespace = "DAV:")]
        public List<responseItem> response { get; set; }
    }
}
